package com.vpx.server.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.vpx.server.bean.entity.CProjectFlowInstance;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author Administrator
* @description 针对表【c_project_flow_instance】的数据库操作Mapper
* @createDate 2023-11-18 15:37:22
* @Entity generator.domain.CProjectFlowInstance
*/
@Mapper
public interface CProjectFlowInstanceMapper extends BaseMapper<CProjectFlowInstance> {
    @Select("select * from c_project_flow_instance")
    List<CProjectFlowInstance> selectAll();
    @Insert("insert into c_project_flow_instance(id,instance_name,instance_content,create_time,type_id,type_code,bus_type) values(#{id},#{instanceName},#{instanceContent},#{createTime},#{typeId},#{typeCode},#{busType})")
    void add(CProjectFlowInstance c);
}




